package service

import (
	"github.com/RaymondCode/simple-demo/entity/bo"
	"github.com/RaymondCode/simple-demo/entity/param"
)

type User interface {
	// Register 注册
	Register(userParam param.User) (int, string, error)
	// Login 登陆
	Login(userParam param.User) (int, string, error)
	// UserInfo 查看用户信息
	UserInfo(userId int) (*bo.User, error)
}
